﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Test_LYK.Models;
using Test_LYK.Repository;

namespace Test_LYK.Domain
{
    public class EatLogDomain
    {
        public bool AddEadLog(EatLogModel eat)
        {
            return new EatLogReposiroty().AddEadLog(eat);
        }

        public List<EatLogModel> GetEatLog()
        {
            return new EatLogReposiroty().GetEatLog();
        }

        public bool HideLog(int logId)
        {
            return new EatLogReposiroty().HideLog(logId);
        }
    }
}